package braindamagestudio.com.app.fight;

import org.anddev.andengine.opengl.buffer.BufferObjectManager;

import braindamagestudio.com.app.fight.R;
import braindamagestudio.com.app.fight.R.id;
import braindamagestudio.com.app.fight.R.layout;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class Hello extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		
	//	TextView tv = new TextView(this);
	//	tv.setText("wahahahha");		
		
		setContentView(R.layout.main);
		
		Button button = (Button)this.findViewById(R.id.button1);
		button.setOnClickListener(new View.OnClickListener()
		{
			@Override
			public void onClick(View v){
				ClickEvent();
			}	
		});
	}
	
	private void ClickEvent()
	{
		Toast.makeText(this, "pressed", Toast.LENGTH_SHORT).show();

	}
}
